// import { createPost,createGet } from "@/utils/request";
import { createCommand } from '../../commandHelper';

// export const manualTest = createGet<never, string>("/api/Device/GetMethodDescription");

// 模块ID（替代原来的path，对应CalibrationModule的config.id）
const moduleId = 'DeviceForm';

//old
export const sendCommand = createCommand<{}, any>(moduleId);

export const downloadFileCommand = createCommand<{}, Blob>(moduleId);


//export const sendCommand = createPost<{}, any>("/api/Device/SendCommand", { commandName:  });

//
//export const getAllManufacturers = createPost<{}, string[]>(taskPath, { commandName: "GetAllManufacturers" });